package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 权限表对象
 */
@Data
@TableName("perms")
public class Perms {
    @TableId(value = "id",type = IdType.AUTO)
    //主键
    private int id;
    //权限名
    private String name;
    //权限代码
    private String code;
    //权限链接
    private String link;
    //父权限id
    private int parentId;
    //权限类型，a为api，m为菜单
    private String type;
    //状态（是否开启权限）
    private String status;
}
